package com.xdap.pojo.jimu;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Table(value = "jimu_report_data_source" )
public class JimuReportDataSourcePo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @Column(value = "id" )
    private String id;

    /**
     *  数据源名称
     */
    @Column(value = "name" )
    private String name;

    /**
     *  报表_ID
     */
    @Column(value = "report_id" )
    private String reportId;

    /**
     *  编码
     */
    @Column(value = "code" )
    private String code;

    /**
     *  备注
     */
    @Column(value = "remark" )
    private String remark;

    /**
     *  数据库类型
     */
    @Column(value = "db_type" )
    private String dbType;

    /**
     *  驱动类
     */
    @Column(value = "db_driver" )
    private String dbDriver;

    /**
     *  数据源地址
     */
    @Column(value = "db_url" )
    private String dbUrl;

    /**
     *  用户名
     */
    @Column(value = "db_username" )
    private String dbUsername;

    /**
     *  密码
     */
    @Column(value = "db_password" )
    private String dbPassword;

    /**
     *  创建人
     */
    @Column(value = "create_by" )
    private String createBy;

    /**
     *  创建日期
     */
    @Column(value = "create_time" )
    private Date createTime;

    /**
     *  更新人
     */
    @Column(value = "update_by" )
    private String updateBy;

    /**
     *  更新日期
     */
    @Column(value = "update_time" )
    private Date updateTime;

    /**
     *  连接失败次数
     */
    @Column(value = "connect_times" )
    private Integer connectTimes;

    /**
     *  多租户标识
     */
    @Column(value = "tenant_id" )
    private String tenantId;

    /**
     *  类型(REPORT:报表;DRAG:仪表盘)
     */
    @Column(value = "type" )
    private String type;


}